home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer: Getting Started / Internet Surfer - Getting Started (Wayzata Technology)(7231)(1995).bin / pc / textfile / mac_faqs / msds_faq / part1 < prev    next >
Encoding:
Internet Message Format  |  1995-01-01  |  9.4 KB

  1. Xref: bloom-picayune.mit.edu comp.os.msdos.programmer:18888 news.answers:4711
  2. Path: bloom-picayune.mit.edu!enterpoop.mit.edu!eru.mt.luth.se!lunic!sunic!mcsun!uknet!doc.ic.ac.uk!agate!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!brown
  3. From: brown@NCoast.ORG (Stan Brown)
  4. Newsgroups: comp.os.msdos.programmer,news.answers
  5. Subject: comp.os.msdos.programmer FAQ part 1 of 4
  6. Message-ID: <msdos-faq.921220.1@NCoast.ORG>
  7. Date: 20 Dec 92 20:12:47 GMT
  8. Expires: Wed, 3 Feb 1993 20:12:47 GMT
  9. References: none
  10. Followup-To: comp.os.msdos.programmer
  11. Organization: Oak Road Systems, Cleveland Ohio USA
  12. Lines: 190
  13. Approved: news-answers-request@MIT.Edu
  14. Supersedes: <msdos-faq.921205.1@NCoast.ORG>
  15.  
  16. Archive-name: msdos-programmer-faq/part1
  17. Last-modified: 20 December 1922
  18.  
  19.  
  20. This is the monthly FAQ list (Frequently Asked Questions list) for the
  21. newsgroup comp.os.msdos.programmer.  Parts 2 through 4 of this article
  22. are posted as followups in the same thread.  If the posting date shown
  23. above is more than six weeks in the past, see instructions in part 4 of
  24. this list for how to get an updated copy.  (A separate article holds the
  25. changes from last month's edition.  Look for the subject line
  26. "comp.os.msdos.programmer FAQ diffs".)
  27.  
  28. FAQ lists are intended to reduce the noise level in their newsgroups
  29. that results from the repetition of the same questions, correct answers,
  30. wrong answers, corrections to the wrong answers, corrections to the
  31. corrections, debate, etc.
  32.  
  33. This list should serve as a repository of the canonical "best" answers
  34. to the questions in it.  The names of folks who have helped to improve
  35. this FAQ list follow the table of contents.  If you know a better answer
  36. or even a slight change that improves an answer, please tell me!  (Use
  37. email, please.  Traffic in this group is high, and I may miss a relevant
  38. posted article.)
  39.                       Stan Brown, Oak Road Systems, Cleveland, Ohio, USA
  40.                                                         brown@ncoast.org
  41.  
  42. Search tips
  43. ===========
  44.     To search for specific topics:  See the list of questions in the
  45. Contents section (immediately below) to find which article (part 2, 3,
  46. or 4) you need.  Then, in that part, search for that question number.
  47. For example, while you're reading part 2 of this list, the trn
  48. newsreader command "gQ203" goes to Q203.
  49.     To skip one topic and go to the next:  Search for "Q" starting in
  50. column 1.  In trn and similar newsreaders, the command "g^Q" does that.
  51.     If your newsreader doesn't support searches, you can extract these
  52. articles to a file and use your favorite editor's search commands.
  53.  
  54.  
  55. Contents--part 2 of 4
  56. =====================
  57. section 1. General questions
  58.     101. Why won't my code work?
  59.     102. What is this newsgroup about?
  60.     103. What's the difference from comp.sys.ibm.pc.programmer?
  61.     104. What other newsgroups should I know about?
  62. section 2. Compile and link
  63.     201. What the heck is "DGROUP > 64K"?
  64.     202. How do I fix "automatic data segment exceeds 64K" or "stack
  65.          plus data exceed 64K"?
  66.     203. Will Borland C code and Microsoft C code link together?
  67.     204. Why did my program bomb at run time with "floating point
  68.          formats not linked"?
  69.     205. Why did my program bomb with "floating point not loaded"?
  70.     206. How can I change the stack size in Borland's C compilers?
  71.     207. What's the format of an .OBJ file?
  72.     208. What's the format of an .EXE header?
  73.     209. What's the difference between .COM and .EXE formats?
  74. section 3. Keyboard
  75.     301. How can I read a character without echoing it to the screen,
  76.          and without waiting for the user to press the Enter key?
  77.     302. How can I find out whether a character has been typed, without
  78.          waiting for one?
  79.     303. How can I disable Ctrl-C/Ctrl-Break and/or Ctrl-Alt-Del?
  80.     304. How can I disable the print screen function?
  81.     305. How can my program turn NumLock (CapsLock, ScrollLock) on/off?
  82.     306. How can I speed up the keyboard's auto-repeat?
  83.     307. What is the SysRq key for?
  84.     308. How can my program tell what kind of keyboard is on the system?
  85.     309. How can I tell if input, output, or stderr has been redirected?
  86.  
  87.  
  88. Contents--part 3 of 4
  89. =====================
  90. section 4. Disks and files
  91.     401. What drive was the PC booted from?
  92.     402. How can I boot from drive b:?
  93.     403. Which real and virtual disk drives are valid?
  94.     404. How can I make my single floppy drive both a: and b:?
  95.     405. Why won't my C program open a file with a path?
  96.     406. How can I redirect printer output to a file?
  97.     407. How can my program open more files than DOS's limit of 20?
  98.     408. How can I read, create, change, or delete the volume label?
  99.     409. How can I get the disk serial number?
  100.     410. What's the format of .OBJ, .EXE., .COM files?
  101. section 5. Serial ports (COM ports)
  102.     501. How do I set my machine up to use COM3 and COM4?
  103.     502. How do I find the I/O address of a COM port?
  104.     503. But aren't the COM ports always at I/O addresses 3F8, 2F8, 3E8,
  105.          and 2E8?
  106.     504. How do I configure a COM port and use it to transmit data?
  107. section 6. Other hardware questions and problems
  108.     601. Which 80x86 CPU is running my program?
  109.     602. How can a C program send control codes to my printer?
  110.     603. How can I redirect printer output to a file?
  111.     604. Which video adapter is installed?
  112.     605. How do I switch to 43- or 50-line mode?
  113.     606. How can I find the Microsoft mouse position and button status?
  114.     607. How can I access a specific address in the PC's memory?
  115.     608. How can I read or write my PC's CMOS memory?
  116.     609. How can I access memory beyond 640K?
  117. section 7. Other software questions and problems
  118.     701. How can a program reboot my PC?
  119.     702. How can I time events with finer resolution than the system
  120.          clock's 55 ms (about 18 ticks a second)?
  121.     703. How can I find the error level of the previous program?
  122.     704. How can a program set DOS environment variables?
  123.     705. How can I change the switch character to - from /?
  124.     706. Why does my interrupt function behave strangely?
  125.     707. How can I write a TSR (terminate-stay-resident) utility?
  126.     708. How can I write a device driver?
  127.     709. What can I use to manage versions of software?
  128.     710. What's this "null pointer assignment" after my C program
  129.          executes?
  130.  
  131.  
  132. Contents--part 4 of 4
  133. =====================
  134. section A. Downloading
  135.     A01. What is garbo?  What is wustl?
  136.     A02. What are Simtel and "mirror sites"?  What good are they?
  137.     A03. Where do I find program <mumble>?
  138.     A04. How can I check Simtel or garbo before I post a request for a
  139.          program?
  140.     A05. How do I download and decode a program I found?
  141.     A06. Where is UUDECODE?
  142.     A07. Why do I get errors when extracting from a ZIP file I
  143.          downloaded?
  144. section B. Vendors and products
  145.     B01. How can I contact Borland?
  146.     B02. How can I contact Microsoft?
  147.     B03. What's the current version of PKZIP?
  148.     B04. What's in Borland Pascal/Turbo Pascal 7.0?
  149.     B05. What's in Microsoft C/C++ 7.0?
  150. section C. More information
  151.     C01. Are there any good on-line references for PC hardware
  152.          components?
  153.     C02. Are there any good on-line references for PC interrupts?
  154.     C03. What and where is "Ralf Brown's interrupt list"?
  155.     C04. Where can I find lex, yacc, and language grammars?
  156.     C05. What's the best book to learn programming?
  157.     C06. Where are FAQ lists archived?
  158.     C07. Where can I get the latest copy of this FAQ list?
  159.  
  160.  
  161. Acknowledgements
  162. ================
  163. Many articles posted in comp.os.msdos.programmer sparked ideas or
  164. provided information for the first version of this list.  Though I am
  165. responsible for any errors, thanks are due to the following for posted
  166. articles or private email that I used in subsequent editions:  Jamshid
  167. Afshar, Mark Aitchison, Sanjay Aiyagari, George Almasi, Aaron Auseth,
  168. Preston Bannister, Denis Beauregard, Mike Black, Glynn Brooks, Paul
  169. Brooks, Ralf Brown, Shaun Burnett, Raymond Chen, Alan Drew, Paul
  170. Ducklin, Gary Dueck, Roland Eriksson, Markus Fischer, George Forsman,
  171. B.Haible, Klaus Hartnegg, Kris Heidenstrom, Joel Hoffman, Joe Huffman,
  172. Michael Holin, Mike Iarrobino, Ajay Kamdar, Everett Kaser, Jen Kilmer,
  173. Reinhard Kirchner, Dave Kirsch, Sidney Markowitz, Jim Marks, Dimitri
  174. Matzarakis, Ken McKee, Tom Milner, Duncan Murdoch, Steve Murphy, Mert
  175. Nickerson, David Nugent, Keith Petersen, Karl Riedling, Arthur Rubin,
  176. Gerald Ruderman, Timo Salmi, Tapio Sand, John Schmid, Ajay Shah, Tom
  177. Swingle, Anders Thulin, Curt Tilmes, Ya-Gui Wei, Joe Wells, Gregory
  178. Youngblood, khill@vax1.umkc.edu, rujo@extern.uio.no
  179.  
  180. New contributors this month:  Paul Ducklin, Mike Iarrobino, Duncan
  181. Murdoch, Anders Thulin, Curt Tilmes, rujo@extern.uio.no
  182.  
  183.  
  184. Legalistic stuff
  185. ================
  186. This article is not in the public domain, but it may be redistributed so
  187. long as this notice, and the information on obtaining the latest copy of
  188. this list, are retained.  The code fragments may be used freely; credit
  189. would be appreciated but is not required.
  190.  
  191. Copyright (C) 1992  Stan Brown, Oak Road Systems.  All rights reserved.
  192.  
  193. THERE IS NO WARRANTY ON THE CODE.  I have tested all the code included
  194. below, but your machine may not work the same as mine, and my testing
  195. may not be perfect.  (Except where otherwise noted, I tested the code
  196. with both BC++ 2.0 and MSC 5.0.)
  197.  
  198. The mention of particular books or programs must not be construed to
  199. reflect unfavorably on any that are not mentioned.
  200.  
  201.  
  202. (continued in part 2)
  203. -- 
  204. Stan Brown, Oak Road Systems                      brown@Ncoast.ORG
  205. Cleveland, Ohio, USA
  206.